import { IForm } from '@/base-ui/form'
import { rules } from '../../../../login/config/account-config'

export const modalConfig: IForm = {
  formItems: [
    {
      field: 'Usertype',
      type: 'select',
      label: '编辑类型',
      placeholder: '请选择类型',
      options: [
        { title: '个人信息', value: 1 },
        { title: '会员课时', value: 2 }
      ]
    },
    {
      field: 'classify',
      type: 'select',
      label: '组别',
      placeholder: '请选择组别',
      options: [
        { title: '幼儿组', value: 1 },
        { title: '小学组', value: 2 },
        { title: '初中组', value: 3 }
      ]
    },
    {
      field: 'nickName',
      type: 'input',
      label: '真实姓名',
      placeholder: '请输入真实姓名'
    },
    {
      field: 'mobile',
      type: 'input',
      label: '电话号码',
      placeholder: '请输入电话号码'
    },
    {
      field: 'year_start_time',
      type: 'input',
      label: '开通时间',
      placeholder: '2022-10-11 17:03:51'
    },
    {
      field: 'year_end_time',
      type: 'input',
      label: '到期时间',
      placeholder: '2022-10-11 17:03:51'
    },
    {
      field: 'refill_card',
      type: 'input',
      label: '修改金额',
      placeholder: '请输入修改金额'
    },
    {
      field: 'rest_record',
      type: 'input',
      label: '修改次数',
      placeholder: '请输入修改次数'
    }
  ],
  colLayout: { span: 24 },
  itemStyle: {}
}
